package ooday05_vis;

public class EnumTest {
    public static void main(String[] args) {
        //
        Seasons seasons=Seasons.SUMMER;
        System.out.println(seasons.getSeasonMonth()+","+seasons.getSeasonDesc()+","+seasons.getSeasonName());

        //
        Seasons[] seasons1=Seasons.values();
        for (int i=1;i<seasons1.length;i++){
            System.out.println(seasons1[i]);
            System.out.println(seasons1[i].getSeasonMonth());
            System.out.println(seasons1[i].getSeasonDesc());
            System.out.println(seasons1[i].getSeasonName());
        }
    }
}
